package com.esoon.dao;

import com.esoon.entity.CosTenant;
import com.esoon.entity.MyTenant;

import java.math.BigDecimal;

public interface CosTenantDao {
    int deleteByPrimaryKey(BigDecimal ttId);

    int insert(CosTenant record);

    int insertSelective(CosTenant record);

    CosTenant selectByPrimaryKey(BigDecimal ttId);

    int updateByPrimaryKeySelective(CosTenant record);

    int updateByPrimaryKey(CosTenant record);

    MyTenant selectByTenantCode(String tenantCode);
}